#ifndef TESTSTATE_H
#define TESTSTATE_H

#include "State.h"

class Texture;
class Module;
class Sprite;
class Animation;
class AnimationSprite;
class Button;

class TestState:public State
{
public:
	TestState();
	~TestState();

	void Init();
	void Update();
	void Render();
	void Exit();
	void TouchUp (int x, int y);
	void TouchDown (int x, int y);
	void TouchMove (int x, int y);

	void Render(int x, int y, float deep);
	void Render(int x, int y, float alpha, float deep);
	void Render(int x, int y, float xScale, float yScale, float angle, float alpha,float deep);

	void TouchEventButton(Button* sender, int event);

private:
	float xx;
	float yy;
	Texture* t;
	Module* module;
	Sprite* sprite;
	Animation* ani;
	AnimationSprite* aniSprite;
	Button* button;
};

#endif